package com.atguigu.day10.work;

public interface CompareAble {
    default void compare(Apple a1,Apple a2){
        System.out.println("挑大的: ");
        if(a1.getSize()>a2.getSize()){
            System.out.println(a1);
        }else{
            System.out.println(a2);
        }
    }
}
